//
//  HFUIColor + Extension.swift
//  sinaMicroBlog
//
//  Created by mac on 15/11/18.
//  Copyright © 2015年 mac. All rights reserved.
//

import UIKit

extension UIColor  {

    class func randomColor() -> UIColor {
        let red: CGFloat = CGFloat(random() % 255) / 255.0
        let green: CGFloat = CGFloat(random() % 255) / 255.0
        let blue: CGFloat = CGFloat(random() % 255) / 255.0
            
        return UIColor(red: red, green: green, blue: blue, alpha: 1.0)
    }
}
